<template>
  <div :style="cDoneHeight">
    <slot name="content">leftArea</slot>
  </div>
</template>

<script>
export default {
  name: "LeftArea",
  props: {
    height: {
      type: [Number, String],
      default: "100%"
    }
  },
  computed: {
    cDoneHeight () {
      let height = this.height.toString();
      return {
        height: height.indexOf("%") > -1 ? this.height : height + "px"
      };
    }
  }
};
</script>

<style lang="less" scoped>
// .leftArea {
//   width: 100%;
//   background-color: #ffffff;
//   padding: 8px;
//   margin-bottom: 5px;
// }
</style>
